import { createApp } from 'vue'
import App from './App.vue'
/* 引入全局SVG图标设置*/
import 'virtual:svg-icons-register'
/* 引入全局样式 */
import './style/index.scss'
/* SVG组件全局化 */
import gloablComponent from './components/directives/index'
/* 引入pinia */
import { createPinia } from 'pinia'
/* 引入粒子背景 */
import Particles from 'particles.vue3'
/* 暗黑模式 */
import 'element-plus/theme-chalk/dark/css-vars.css'
const app = createApp(App)
const pinia = createPinia()
/* 引入路由 */
import router from './router'
/* 挂在pinia */
app.use(pinia)
app.use(router)
app.use(gloablComponent)
app.use(Particles)
app.mount('#app')
